Creating an object based on a function's parameter

visit shbcf.ru